-- GENERATED SPELL FOR [Felfire Diemetradon] --


function spell0_21408(pUnit, Event) --@Flaming Wound,n/a--
pUnit:FullCastSpellOnTarget(37941,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21408', 15000, 1)
end

function Sorts_21408(pUnit, Event)
local choix_sorts_21408 = math.random(0, 0)
if choix_sorts_21408 == 0 then
pUnit:RegisterEvent('spell0_21408', 1, 1)
end
end

function mob21408_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21408', math.random(1500, 3000), 1)
end

function mob21408_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21408_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21408_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21408, 1, 'mob21408_Action')
RegisterUnitEvent(21408, 2, 'mob21408_Leave')
RegisterUnitEvent(21408, 3, 'mob21408_Kill')
RegisterUnitEvent(21408, 4, 'mob21408_Die')
